<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="#">我叫汤浪，三点水的汤，三点水的浪，我全程不用桨，全靠浪我的特长是喝酒开快车！</a>
    <script>
        
        
        // alert(str)
        var myhttp = prompt('请输出你喜欢看的网址');
        var str = '<a href="'+myhttp+'">我叫汤浪，三点水的汤，三点水的浪，我全程不用桨，全靠浪我的特长是喝酒开快车！</a>'
        alert(str)
    </script>
</body>
</html>